<?
		include("dbconn.inc");
		include("dbfuc.inc");
		include("session.inc");		
		$adminuser=$_SESSION["adminuser"];
		$adminid=$_SESSION["adminid"];
		$admindb=$_SESSION["admindb"];
		
	if(session_is_registered("admindb") )
	{
	
?>
<html>
<head>
<title>Untitled Document</title>
<style type="text/css">
<!--
.style11 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #999999; }
.style12 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style14 {font-size: 12px}
.style15 {color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 12px; }
.style16 {color: #000000}
.style6 {	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style9 {color: #184584}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body>
<?
		if(($adminuser!="") && (($adminid!="") || ($adminid!=0)))
		{
			$sql="";
?>		
<? include "allheader.php"  ?>	
<?	
		//echo $user;
/*		$sql="select D_JOIN,d_expiry,c_fname from mlm_master b ,mlm_address_dtl a  where b.pn_id=a.n_id and pn_id=$curid ";
		$result=mysql_query($sql);
		$rownum=mysql_num_rows($result);
		if($rownum >0)
		{
			$rownum=$rownum-1;
			$joindate=mysql_result($result,$rownum,"D_JOIN");
			$expiredate=mysql_result($result,$rownum,"d_expiry");
			$c_fname=mysql_result($result,$rownum,"c_fname");
			
		}

*/		}

?>
</body>
</html>
<?
	}
	else
	{
		$errormsg="Your session is expeired. Please login again.";
		header("location: index.php?error=$errormsg");
	}
?>	
